package cn.wolfcode.qo;

import cn.wolfcode.enums.ConsumptionReportEnum;
import lombok.Getter;
import lombok.Setter;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @Author
 * @Date 2021/1/17 13:00
 * @Version 1.0
 * @Name:lzh
 **/
@Getter
@Setter
public class ConsumptionReportQueryObject extends QueryObject{
    private String groupType= ConsumptionReportEnum.BUSINESS.getValue();
    private Long  businessId;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date beginDate;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date endDate;
    private Boolean appointmentType;
}
